import { Map } from 'immutable'
const defaultState = Map({
    user:{}
})

const reducer = (state = defaultState, action) => {
    switch(action.type) {
        case 'loadDataApply':
            return state.set('user', action.user)
        default:
            return state
    }
}
export default reducer